package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.GroupSendTaskDevice;
import com.xjscrm.console.param.groupSend.GroupSendDeviceQuery;
import com.xjscrm.console.vo.GroupSendDeviceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupSendTaskDeviceMapper {
    int addGroupSendTaskDevice(GroupSendTaskDevice groupSendTaskDevice);

    List<GroupSendDeviceVo> getGroupSendTaskDeviceList(GroupSendDeviceQuery groupSendDeviceQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);
}
